]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Flush region update in showOverview
authorAdel Gadllah <adel.gadllah@gmail.com>
Fri, 11 Oct 2013 18:10:24 +0000 (20:10 +0200)
committerAdel Gadllah <adel.gadllah@gmail.com>
Fri, 11 Oct 2013 18:16:44 +0000 (20:16 +0200)
We cannot wait for the queued update region to fire when
xdnd is being used because a wrong input shape can result
into a xdnd leave event when the user moves the pointer fast.

https://bugzilla.gnome.org/show_bug.cgi?id=708887

js/ui/layout.js

index 12717091cc9bbdc1ca1e5d9cfa685f48589736e3..17073a6db5346ba82451986864d3edcbab17e2a1 100644 (file)
@@ -251,7 +251,7 @@ const LayoutManager = new Lang.Class({
 
         this._inOverview = true;
         this._updateVisibility();
-        this._queueUpdateRegions();
+        this._updateRegions();
     },
 
     hideOverview: function() {